package com.von.nhcf.constant;

/**
 * 常量管理类
 * @author von
 */
public class NhcfConstant {
    // 消息相关的常量
    public static final String MESSAGE_LOGIN_FAILUIRE = "账号或密码错误，请重试";
    public static final String MESSAGE_LOGIN_SUCCESS_ALREADY_EXISTED = "账号已登录";
    public static final String MESSAGE_ACCESS_ILLEGAL = "请登录后再访问受保护的资源";
    public static final String MESSAGE_STRING_INVALIDATE = "字符串不合法！请检查是否为null或者长度为0";
    public static final String MESSAGE_SYSTEM_ERROR_LOGIN_NOT_UNIQUE = "系统错误，登录账号主键不唯一";
    public static final String MESSAGE_LOGIN_ACCOUNT_OR_PWD_EMPTY = "账号，密码不能为空";
    public static final String MESSAGE_ADMIN_ONLINE_PROJECT = "当前用户已在线，请等待其下线后再执行操作";
    public static final String MESSAGE_LOGIN_ACCOUT_ALREADY_EXISTED = "账号已存在";
    public static final String MESSAGE_REGISTER_TWICE_PSW_NOT_MATCH = "两次输入的密码不一样，请重试！！！";
    public static final String MESSAGE_CODE_WRONG = "验证码错误！！！";
    public static final String MESSAGE_CODE_NOT_EXISTS = "验证码已过期，请重新发送验证码！！！";
    public static final String MESSAGE_LOGIN_ACCOUT_NOT_EXISTS = "账号不存在，请注册账号后再进行登录操作";
    public static final String MESSAGE_UPLOAD_HEADER_PICTURE_FAILURE = "头图上传失败，请稍后再试！！！";
    public static final String MESSAGE_UPLOAD_DETAIL_PICTURE_FAILURE = "详情图片上传失败，请稍后再试！！！";
    public static final String MESSAGE_UPLOAD_HEADER_PICTURE_EMPTY = "根据规定，头图不能为空";
    public static final String MESSAGE_UPLOAD_DETAIL_PICTURE_EMPTY = "根据规定，至少要有一张详情图片";
    public static final String MESSAGE_UPLOAD_DETAIL_PICTURE_ZERO = "请上传大小大于0的详细图片";

    // 域相关常量
    public static final String ATTR_NAME_MEMBER = "member";
    public static final String ATTR_NAME_EXCEPTION = "exception";
    public static final String ATTR_NAME_LOGIN_ADMIN = "loginAdmin";
    public static final String ATTR_NAME_PAGE_INFO = "pageInfo";
    public static final String MESSAGE_ACCESS_DENIED = "抱歉，您没有权限访问该页面";
    public static final String ATTR_MESSAGE_NAME = "message";
    public static final String ATTR_TEMP_PROJECT_VO = "temp_project";
    public static final String ATTR_NAME_PORTAL_DATA = "PORTAL_DATA";
    public static final String ATTR_NAME_DETAIL_PROJECT_VO = "detailProjectVO";
    public static final String ATTR_NAME_ORDER_PROJECT_VO = "orderProjectVO";
    public static final String ATTR_NAME_ADDRESS_VO_LIST = "addressVOList";
    public static final String ATTR_NAME_ORDER_VO = "orderVO";

    // redis相关
    public static final String REDIS_CODE_PREFIX = "REDIS_CODE_";
}
